Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(wasm_vm): use cache_dirs for ephemeral plugin data #1230

Merged
merged 5 commits into from
Mar 17, 2022

Conversation

a-kenji
Copy link
Contributor

@a-kenji a-kenji commented Mar 17, 2022

Use proper cache_directories by default, that users can be expected
to have proper write permissions for.

The directory is used for plugin hashes, and compilation data.

This fixes a regression in the feature system:
The asset installation didn't get turned off by the feature.

Add error logging to the install functions.

Properly show features in setup

* fix(feat): disable `mkdir` in wasm_wm

The `wasm_vm` creates the `plugin_dir` before mounting it.
Turn that behavior off on `feature-disable-asset-installation`.

Alternative:
    Is this even needed? We make sure the directory is there upon the
    normal asset installation.

fixes zellij-org#1130
disable `mkdir` in `wasm_vm` on `feature-disable-asset-installation`
Use proper `cache_directories` by default, that users can be expected
to have proper write permissions for.

The directory is used for plugin hashes, and compilation data.
@a-kenji a-kenji merged commit 092926c into zellij-org:main Mar 17, 2022
@a-kenji a-kenji deleted the fix/plugin-cache branch March 17, 2022 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant